package com.stek.model;

import android.content.ComponentName;
import android.content.Intent;
import android.graphics.drawable.Drawable;

public class AppInfo {
	public static final String ACTION_LAUNCH_FAV_APP = "ACTION_LAUNCH_FAV_APP";
	public static final String ACTION_LAUNCH_INSTALLED_APPS = "ACTION_LAUNCH_INSTALLED_APP";
	public static final String ACTION_BACK = "ACTION_BACK";
	public String pgk;
	public String srcDir;
	public String name;
	public String action;
	public int position;
	public int id;
	public long size;
	public Drawable icon;
	public boolean isSystemApp;
	public Intent baseIntent;
	public ComponentName componentName;
	public boolean isRecentTask;

	public AppInfo(String pgk, String name, String action, int position, int id) {
		super();
		this.pgk = pgk;
		this.name = name;
		this.action = action;
		this.position = position;
		this.id = id;
	}

	public AppInfo(String pgk, String name, int position) {
		super();
		this.pgk = pgk;
		this.name = name;
		this.position = position;
	}

	public AppInfo(String pgk, String name, Drawable icon, boolean isSystemApp,
			long size) {
		super();
		this.pgk = pgk;
		this.name = name;
		this.icon = icon;
		this.isSystemApp = isSystemApp;
		this.size = size;
	}
	

	public AppInfo(String pgk, String name, Drawable icon, boolean isSystemApp) {
		super();
		this.pgk = pgk;
		this.name = name;
		this.icon = icon;
		this.isSystemApp = isSystemApp;
	}

	public AppInfo(String pgk, String name, Drawable icon, boolean isSystemApp,
			String srcDir) {
		super();
		this.pgk = pgk;
		this.name = name;
		this.icon = icon;
		this.isSystemApp = isSystemApp;
		this.srcDir = srcDir;
	}

	public AppInfo(String pgk, String name, Drawable icon, Intent baseIntent,
			ComponentName componentName, boolean isRecentTask) {
		super();
		this.pgk = pgk;
		this.name = name;
		this.icon = icon;
		this.baseIntent = baseIntent;
		this.componentName = componentName;
		this.isRecentTask = isRecentTask;
	}

}
